package other.mvvm.src

fun mvvmActivityKt(
        applicationPackage: String?,
        activityClass: String,
        layoutName: String,
        packageName: String
) = """
package ${packageName}.${activityClass.toLowerCase()};

public class ${activityClass}Activity extends BaseMvvmActivity<Activity${activityClass}Binding, ${activityClass}ViewModel> {

    @Override
    protected Activity${activityClass}Binding initViewBinding() {
        return Activity${activityClass}Binding.inflate(getLayoutInflater());
    }

    @Override
    protected Class<${activityClass}ViewModel> initViewModel() {
        return ${activityClass}ViewModel.class;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initObserver() {

    }
}
"""